package com.jichaoyun.sys.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.jichaoyun.common.model.PagedResult;
import com.jichaoyun.model.entity.Priceset;

import com.jichaoyun.model.vo.PricesetVo;


import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.time.LocalDateTime;
import java.util.List;

public interface PriceSetService extends IService<Priceset> {
    PagedResult pageSelectRecords(Integer pageNo);

    void PriceSetOne(PricesetVo pricesetVo);

    void PriceSetBatch(List<PricesetVo> pricesetVos);

    PagedResult PricePageReg(Integer pageNo);

    /**
     *  计费查询--分页
     * @param pageNo
     * @param start
     * @param end
     * @return
     */
    PagedResult getPeriodSettleFeePage(Integer pageNo, LocalDateTime start, LocalDateTime end);

    /**
     *  计费查询--单用户分页
     * @param stationNo
     * @param pageNo
     * @param start
     * @param end
     * @return
     */
    PagedResult getPeriodSettleFeePage(Integer stationNo,Integer pageNo, LocalDateTime start, LocalDateTime end);



    /**
     *  计费查询--导出到excel
     * @param start
     * @param end
     * @return
     */
    void getPeriodSettleFeePage(LocalDateTime start, LocalDateTime end, HttpServletResponse response) throws IOException;

    /**
     *  计费查询--单用户导出到excel
     * @param start
     * @param end
     * @return
     */
    void getPeriodSettleFeePage(Integer stationNo,LocalDateTime start, LocalDateTime end, HttpServletResponse response) throws IOException;


}
